package com.jilefojing.beans.pojos;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jilefojing.beans.pojos.base.BasePo;

/**
 * 
 * @author 作者 jgshun
 * @date 创建时间 2016年10月07日 00时08分14秒
 */
@Table(name = "t_write_book")
public class WriteBook extends BasePo {
	/**
	 * 属性查询列表
	 */
	public static final String FIELD_ID = "id";
	public static final String FIELD_CREATETIME = "createTime";
	public static final String FIELD_WRITEUSERNAME = "writeUserName";
	public static final String FIELD_GENDER = "gender";
	public static final String FIELD_AGE = "age";
	public static final String FIELD_LOGINUSER = "loginUser";
	public static final String FIELD_ADDRESS = "address";
	public static final String FIELD_ALLDEDICATEMERITS = "allDedicateMerits";
	public static final String FIELD_DEDICATEMERITS = "dedicateMerits";
	public static final String FIELD_TELEPHONE = "telephone";
	public static final String FIELD_BUDDHISM = "buddhism";
	public static final String FIELD_BOOKCHAPTERID = "bookChapterId";

	/**
	 * 列名查询列表
	 */
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_CREATE_TIME = "create_time";
	public static final String COLUMN_WRITE_USER_NAME = "write_user_name";
	public static final String COLUMN_GENDER = "gender";
	public static final String COLUMN_AGE = "age";
	public static final String COLUMN_LOGIN_USER = "login_user";
	public static final String COLUMN_ADDRESS = "address";
	public static final String COLUMN_ALL_DEDICATE_MERITS = "all_dedicate_merits";
	public static final String COLUMN_DEDICATE_MERITS = "dedicate_merits";
	public static final String COLUMN_TELEPHONE = "telephone";
	public static final String COLUMN_BUDDHISM = "buddhism";
	public static final String COLUMN_BOOK_CHAPTER_ID = "book_chapter_id";

	@Id
	@GeneratedValue(generator = "JDBC")
	private Long id;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "write_user_name")
	private String writeUserName;
	@Column(name = "gender")
	private Short gender;
	@Column(name = "age")
	private Integer age;
	@Column(name = "login_user")
	private Long loginUser;
	@Column(name = "address")
	private String address;
	@Column(name = "all_dedicate_merits")
	private String allDedicateMerits;
	@Column(name = "dedicate_merits")
	private String dedicateMerits;
	@Column(name = "telephone")
	private String telephone;
	@Column(name = "buddhism")
	private Long buddhism;
	@Column(name = "book_chapter_id")
	private Long bookChapterId;

	/**
	 * 获取 主键
	 * 
	 * @return id - 主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置 主键
	 * 
	 * @param id
	 *            - 主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取 抄经用户
	 * 
	 * @return writeUserName - 抄经用户
	 */
	public String getWriteUserName() {
		return writeUserName;
	}

	/**
	 * 设置 抄经用户
	 * 
	 * @param writeUserName
	 *            - 抄经用户
	 */
	public void setWriteUserName(String writeUserName) {
		this.writeUserName = writeUserName;
	}

	/**
	 * 获取 性别
	 * 
	 * @return gender - 性别
	 */
	public Short getGender() {
		return gender;
	}

	/**
	 * 设置 性别
	 * 
	 * @param gender
	 *            - 性别
	 */
	public void setGender(Short gender) {
		this.gender = gender;
	}

	/**
	 * 获取 年龄
	 * 
	 * @return age - 年龄
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * 设置 年龄
	 * 
	 * @param age
	 *            - 年龄
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

	/**
	 * 获取 登录用户
	 * 
	 * @return loginUser - 登录用户
	 */
	public Long getLoginUser() {
		return loginUser;
	}

	/**
	 * 设置 登录用户
	 * 
	 * @param loginUser
	 *            - 登录用户
	 */
	public void setLoginUser(Long loginUser) {
		this.loginUser = loginUser;
	}

	/**
	 * 获取 地址
	 * 
	 * @return address - 地址
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置 地址
	 * 
	 * @param address
	 *            - 地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取 总回向功德
	 * 
	 * @return allDedicateMerits - 总回向功德
	 */
	public String getAllDedicateMerits() {
		return allDedicateMerits;
	}

	/**
	 * 设置 总回向功德
	 * 
	 * @param allDedicateMerits
	 *            - 总回向功德
	 */
	public void setAllDedicateMerits(String allDedicateMerits) {
		this.allDedicateMerits = allDedicateMerits;
	}

	/**
	 * 获取 回向功德
	 * 
	 * @return dedicateMerits - 回向功德
	 */
	public String getDedicateMerits() {
		return dedicateMerits;
	}

	/**
	 * 设置 回向功德
	 * 
	 * @param dedicateMerits
	 *            - 回向功德
	 */
	public void setDedicateMerits(String dedicateMerits) {
		this.dedicateMerits = dedicateMerits;
	}

	/**
	 * 获取 手机号
	 * 
	 * @return telephone - 手机号
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * 设置 手机号
	 * 
	 * @param telephone
	 *            - 手机号
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
	 * 获取 佛菩萨ID
	 * 
	 * @return buddhism - 佛菩萨ID
	 */
	public Long getBuddhism() {
		return buddhism;
	}

	/**
	 * 设置 佛菩萨ID
	 * 
	 * @param buddhism
	 *            - 佛菩萨ID
	 */
	public void setBuddhism(Long buddhism) {
		this.buddhism = buddhism;
	}

	public Long getBookChapterId() {
		return bookChapterId;
	}

	public void setBookChapterId(Long bookChapterId) {
		this.bookChapterId = bookChapterId;
	}
}